<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>CruiseControl.NET : Trigger Blocks</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            CruiseControl.NET : Trigger Blocks
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Mar 04, 2009 by <font color="#0050B2">williams</font>.
				    </div>

				    <p>Trigger blocks allow you to specify when CruiseControl.NET will start a new integration cycle.</p>

<p>For CI you'll want to use an <a href="Interval Trigger.html" title="Interval Trigger">Interval Trigger</a>. Also useful is the <a href="Schedule Trigger.html" title="Schedule Trigger">Schedule Trigger</a> for implementing daily builds.<br/>
Use the <a href="Filter Trigger.html" title="Filter Trigger">Filter Trigger</a> to prevent builds from occurring at certain times (such as when your source control repository is undergoing backup).<br/>
If you want to set up a project that will only respond to force build requests, you should specify an empty trigger section like this: <tt>&lt;triggers/&gt;</tt>,</p>


<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>
<p>From release 1.4.3 onwards the default when not specifying an trigger element means integrations are only ever forced manually (for example using CCTray or the Web Dashboard.)<br/>
Not including a <tt>&lt;triggers&gt;</tt> element at all means the project will behave like a &lt;triggers /&gt; element, which is the default from release 1.4.3 and onwards.<br/>
Before 1.4.3 a&nbsp; interval trigger with default settings would be created.</p></td></tr></table></div>


<p>Types of Integration Trigger Block are:<br clear="all" />
<ul><li><a href="Filter Trigger.html" title="Filter Trigger">Filter Trigger</a></li><li><a href="Interval Trigger.html" title="Interval Trigger">Interval Trigger</a></li><li><a href="Multiple Trigger.html" title="Multiple Trigger">Multiple Trigger</a></li><li><a href="Project Trigger.html" title="Project Trigger">Project Trigger</a></li><li><a href="Schedule Trigger.html" title="Schedule Trigger">Schedule Trigger</a></li><li><a href="Url Trigger.html" title="Url Trigger">Url Trigger</a></li></ul><br clear="all" />
<br clear="all" />
<br clear="all" /></p>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="http://confluence.public.thoughtworks.org//images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Sep 29, 2009 20:59</font></td>
		    </tr>
	    </table>
    </body>
</html>